#ifndef PITA_QUEUE_CURSOR_H_
#define PITA_QUEUE_CURSOR_H_

#include "interfaces/queue_cursor_interface.h"

namespace pita
{

	class QueueCursor : public QueueCursorInterface
	{
		public:
			QueueCursor(QueueInterface&);

			void next();
			void previous();
			Index position() const;
			void setPosition(Index);
			QueueInterface& queue();
			const QueueInterface& queue() const;

		private:
			void erased(Index);

		private:
			Index position_;
			QueueInterface* queue_;
	};

}

#endif
